doctype html
html
  head
    title= title
    meta(name='viewport', content='width=device-width, initial-scale=1')
    script(src='/static/javascripts/jquery-1.12.0.min.js')
    script(src='/static/javascripts/bootstrap.min.js')
    script(src='/static/javascripts/jquery.qrcode.min.js')
    link(rel='stylesheet', href='/static/stylesheets/bootstrap.min.css')
    link(rel='stylesheet', href='/static/stylesheets/style.css')
  body
    nav.navbar.navbar-default.navbar-static-top(role='navigation')
      .container
        .navbar-header
          a.navbar-brand(href='/') 【控制台】
        #bs-example-navbar-collapse-1(class='collapse navbar-collapse')
          ul(class='nav navbar-nav')
            each bot in weibos
              li
                a(target="_blank",href="/#{bot.getUid()}") #{bot.getNickName()}
            li
              a(href="/add-bot") +增加微博号
    .container
      block content
